<?php
	error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
	require_once 'include/inc.config.php';
	require_once WACT_ROOT.'common.inc.php';
	require_once WACT_ROOT.'controller/pathinfo.inc.php';

    require_once APP_CTRL_ROOT . 'adm/admin_controller.php';

class MyAdminRootController extends RootAdminController {

	function MyAdminRootController() {
        parent::RootAdminController();
        $this->addChild('index',   new Handle(APP_CTRL_ROOT . 'adm/calendar/index.page.php|EventsIndexPage'));
		$this->addChild('edit',   new Handle(APP_CTRL_ROOT . 'adm/calendar/edit.page.php|EventEditPage'));
		$this->addChild('delete',   new Handle(APP_CTRL_ROOT . 'adm/calendar/delete.page.php|EventDeletePage'));
		$this->addChild('create',   new Handle(APP_CTRL_ROOT . 'adm/calendar/create.page.php|EventCreatePage'));
    	$this->addChild('view',   new Handle(APP_CTRL_ROOT . 'adm/calendar/view.page.php|EventViewPage'));

		$this->setDefaultChild('index');

	}

}

$Front =& new MyAdminRootController();
$Front->start();





?>